package com.itheima.reggie;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Slf4j
@SpringBootApplication
//事务开启管理
@EnableTransactionManagement
@ServletComponentScan
@EnableCaching
public class ReggieApplication {
    public static void main(String[] args) {
        log.info("启动成功");
        SpringApplication.run(ReggieApplication.class,args);
        log.info("http://localhost:8080/backend/page/login/login.html");
        log.info("http://localhost:8080/front/page/login.html");
    }
}
